home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
plnk081.zip
/
pilot-link.0.8.1
/
include
/
pi-padp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-23
|
723b
|
39 lines
#ifndef _PILOT_PADP_H_
#define _PILOT_PADP_H_
#include "pi-args.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "pi-socket.h"
#define padData 1
#define padWake 0x101
#define padAck 2
#define padTickle 4
#define padAbort 8 /* PalmOS 2.0 only */
#define FIRST 0x80
#define LAST 0x40
#define MEMERROR 0x20
struct padp {
unsigned char type;
unsigned char flags;
unsigned short size;
};
#define SIZEOF_PADP 4
extern int padp_tx PI_ARGS((struct pi_socket *ps, void *msg, int len, int type));
extern int padp_rx PI_ARGS((struct pi_socket *ps, void *buf, int len));
extern void padp_dump PI_ARGS((struct pi_skb *skb, struct padp* padp, int rxtx));
#ifdef __cplusplus
}
#endif
#endif /* _PILOT_PADP_H_ */